<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 地图设置
// +----------------------------------------------------------------------

return [
	//百度地图秘钥
	'bdkey'		=> 'CEHqylW15GmpvnFYXSAywN3emm4lzvlj',
	// 腾讯地图秘钥
	'qqkey'	=> 'GVKBZ-2KRKQ-L6B5M-GFB7W-N5HGE-XQBXM',
	// 百度ipapi
	'bd_api_ip'		=> 'https://api.map.baidu.com/location/ip',
	// 腾讯api
	'qq_api_ip'	=> 'https://apis.map.qq.com/ws/location/v1/ip',
	// 获取行政区域
	'get_district' => 'https://apis.map.qq.com/ws/district/v1/getchildren?key=GVKBZ-2KRKQ-L6B5M-GFB7W-N5HGE-XQBXM&id=',
	// 获取顶级行政区域
	'get_mastArea' => 'https://apis.map.qq.com/ws/district/v1/list?key=GVKBZ-2KRKQ-L6B5M-GFB7W-N5HGE-XQBXM'
];
